package com.exp.bookhouse.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.exp.bookhouse.pojo.IPRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface IPRecordMapper extends BaseMapper<IPRecord> {

    @Update("update tb_ip_record set update_time = #{updateTime} where ip = #{ip}")
    void updateIPTime(IPRecord ipRecord);

}
